package com.xian.im.modules.im.controller.model.user;


import com.xian.im.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-21 12:01
 **/
@Data
@ApiModel(value = "修改用户信息", description = "修改用户信息")
public class UpdateUserReq implements Serializable {

    @NotNull(groups = {UpdateGroup.class},message = "用户ID 不能为空")
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 头像
     */
    @ApiModelProperty(value = "avatarUrl")
    private String avatarUrl;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "nickname")
    private String nickname;
    /**
     * 个性签名
     */
    @ApiModelProperty(value = "signature")
    private String signature;
}
